首页> 外文OA文献 >Repairing Syntax Errors in LR Parsers
【2h】

Repairing Syntax Errors in LR Parsers

机译:修复LR解析器中的语法错误

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

This article reports on an error-repair algorithm for LR parsers. It locally inserts, deletes or shiftssymbols at the positions where errors are detected, thus modifying the right context in order toresume parsing on a valid piece of input. This method improves on others in that it does notrequire the user to provide additional information about the repair process, it does not requireprecalculation of auxiliary tables, and it can be easily integrated into existing LR parsergenerators. A Yacc-based implementation is presented along with some experimental results andcomparisons with other well-known methods.
机译:本文报告有关LR解析器的错误修复算法。它在检测到错误的位置本地插入,删除或移位符号,从而修改正确的上下文,以便在有效的输入片段上继续解析。该方法在其他方面有所改进,因为它不需要用户提供有关修复过程的其他信息,不需要预先计算辅助表,并且可以轻松地集成到现有的LR解析器中。提出了基于Yacc的实现以及一些实验结果,并与其他众所周知的方法进行了比较。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号